package com.qcc.cashier.pos;

public class PosResponse<T extends TransDataBase> {
    private String appName; //资源包名称，与入参appName相同
    private String transId;//资源包业务名称，与入参transId相同
    private String resultCode; //接口调用结果（与交易无关）：“0”表示调用接口成功；“-1”表示未找到appName对应的资源包；“-2”表示未找transId对应的业务
    private String resultMsg; //接口调用结果描述
    private T transData;

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public String getTransId() {
        return transId;
    }

    public void setTransId(String transId) {
        this.transId = transId;
    }

    public String getResultCode() {
        return resultCode;
    }

    public void setResultCode(String resultCode) {
        this.resultCode = resultCode;
    }

    public String getResultMsg() {
        return resultMsg;
    }

    public void setResultMsg(String resultMsg) {
        this.resultMsg = resultMsg;
    }

    public T getTransData() {
        return transData;
    }

    public void setTransData(T transData) {
        this.transData = transData;
    }
}
